package com.ruoyi.boss.mapper;

import java.util.List;
import com.ruoyi.boss.domain.TDispatched;

/**
 * 待派单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-17
 */
public interface TDispatchedMapper 
{
    /**
     * 查询待派单
     * 
     * @param dispatchedId 待派单主键
     * @return 待派单
     */
    public TDispatched selectTDispatchedByDispatchedId(Long dispatchedId);

    /**
     * 查询待派单列表
     * 
     * @param tDispatched 待派单
     * @return 待派单集合
     */
    public List<TDispatched> selectTDispatchedList(TDispatched tDispatched);

    /**
     * 新增待派单
     * 
     * @param tDispatched 待派单
     * @return 结果
     */
    public int insertTDispatched(TDispatched tDispatched);

    /**
     * 修改待派单
     * 
     * @param tDispatched 待派单
     * @return 结果
     */
    public int updateTDispatched(TDispatched tDispatched);

    /**
     * 删除待派单
     * 
     * @param dispatchedId 待派单主键
     * @return 结果
     */
    public int deleteTDispatchedByDispatchedId(Long dispatchedId);

    /**
     * 批量删除待派单
     * 
     * @param dispatchedIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTDispatchedByDispatchedIds(Long[] dispatchedIds);
}
